

#include "../../3.Library/Include/general.h"

#include "../../4.Driver/Include/DDI_BootingDriver.h"
#include "../../4.Driver/Include/WROS_Register.h"

#include "../../6.VariableSource/Include/Vable_ModelInformation.h"



void DDI_DMA_Init(void);
void Micom_Reset(void);


void __iar_program_start(void);

/*********************************************************************
 <Description> :
 <Note> :
 *********************************************************************/
void DDI_BootMicom(void)
{
	__disable_interrupt();			/* Disable interrupt */
	
	API_INT_Init();
	
	WROS_WDT_Init();
	WROS_PORT_Init();
	WROS_TMRB_Init();
	WROS_UART_Init();
	
	
	WROS_Tick_Init();
	WROS_NVIC_Init();	

	//DDI_DMA_Init();
	TOTAL_PENDING_CLEAR();		/* ALL PEND Clear */
	
	__enable_interrupt();			/* Enable interrupt */
}


void Micom_Reset(void)
{
	API_WDT_Disable();
	__iar_program_start();
}  

//End of File

